package top.goldenyear.porpoise.system.permission.dto;

import java.util.List;
import lombok.Data;
import org.noear.solon.validation.annotation.NotNull;
import org.noear.solon.validation.annotation.Valid;

/**
 * @author airhead
 */
@Data
@Valid
public class RoleAccountsReq {
  @NotNull(message = "角色id不能为空")
  private Integer roleId;
  private List<Integer> accountIdList;
}
